package com.zm.blog;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author: Sister Xiao Ming
 * @Description: 项目启动类
 */
@Slf4j
@EnableAsync
@EnableScheduling
@SpringBootApplication
public class BlogApplication {

    public static void main(String[] args) {

        log.info("Starting Blog Application...");
        SpringApplication.run(BlogApplication.class, args);
        log.info("Blog Application started successfully.");

    }

}
